main: main.c vec.S
	gcc-13 -O main.c vec.S -o main -march=rv64gcv_zba -lm

run: main
	qemu-riscv64 -cpu rv64,v=true,zba=true,vlen=128,rvv_ta_all_1s=on,rvv_ma_all_1s=on ./main

clean:
	rm -f ./main

.PHONY: run main clean
